/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package interfazAWT;

import java.awt.Button;
import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

/**
 *
 * @author djdracku
 */
public class BotonImagenes extends Button{

public void update(Graphics g){
    System.out.println("nada");
}
public void paint(Graphics g){
   
    Image img=null;
    try{
        img=javax.imageio.ImageIO.read(new File("c://Sin titulo.jpg"));
    }
    catch(IOException ex){
        ex.printStackTrace();
    }
    g.drawImage(img,0,0, this);
}

}
